<template>
  <sudoku-layout v-model="plugin" />
</template>
<script type="text/javascript">
import sudokuLayout from '../../../plugins/sudoku-layout'
import { mapState, mapMutations } from 'vuecx'

export default {
  components: {
    "sudoku-layout": sudokuLayout
  },
  data() {
    return {
      plugin: []
    }
  },
  /**
   * 计算属性
   * @type {Object}
   */
  computed: {
    ...mapState(['widgets']),
  },
  /**
   * 页面加载执行
   * @return {[type]} [description]
   */
  mounted() {
    this.plugin = this.widgets['tables']
  }
}

</script>
